def create_H_Steel

    model = Sketchup.active_model
    prompts = ["长度", "宽度","高度","腹板厚","翼缘厚","钢牌号","构件型号","构件编号"]
    defaults = ["750","400","6000","16","38","Q355B","GKL1","AE-KL-1-1"]
    input = UI.inputbox(prompts, defaults, "创建H型钢")
    
    group = model.active_entities.add_group
    entities = group.entities
    l = input[0].to_f.mm
    w = input[1].to_f.mm
    z = input[2].to_f.mm
    fh = input[3].to_f.mm
    yh = input[4].to_f.mm
    
    points = []
    points << [0, 0, 0]
    points << [yh, 0, 0]
    points << [yh, (w-fh)/2, 0]
    points << [l-yh, (w-fh)/2, 0]
    points << [l-yh, 0, 0]
    points << [l, 0, 0]
    points << [l, w, 0]
    points << [l-yh, w, 0]
    points << [l-yh, (w+fh)/2, 0]
    points << [yh, (w+fh)/2, 0]
    points << [yh, w, 0]
    points << [0, w, 0]
    face = entities.add_face(points)
  

    face.pushpull(-z,true)
    
    end